/*if (navigator.userAgent.match(/mobile/i)) {
    location.href = "/home/no_mobile";
}*/
/**
 * 定义
 */
require.config({
  paths: {
    "jquery": "/static/js/jquery/jquery-1.11.0.min",
    "jquery.validate": "/static/js/jquery/jquery.validate.min",
    "jquery.validate.addmethod": "/static/js/jquery/jquery.validate.addmethod",
    "jquery.form": "/static/js/jquery/jquery.form.min",
    "jquery.ajax.ext": "/static/js/jquery/jquery.ajax.ext",
    "jquery.enplaceholder": "/static/js/jquery/jquery.enplaceholder",
		"user": "/static/js/user/user"
  },
	shim: {
    'jquery.validate.min': {
      deps: ['jquery'],
      exports: 'validate'
    },
	'jquery.form': {
      deps: ['jquery'],
      exports: 'form'
    },
	'jquery.ajax.ext': {
      deps: ['jquery'],
      exports: '$'
    },
    "jquery.enplaceholder":{
      deps: ['jquery'],
      exports: '$'
    }
  },
  urlArgs:"v="+UNCLONE_VERSION
});

/**
 * 调用模块
 */
require(['user'], function(u){
	u.api();
});